﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace IntroToMVCAugust19.Models
{
    public class Plane : Vehicle
    {
        protected int Wings { get; set; }
        public string Fly() {

            return "The plane is flying";
        }

        public Plane(
            int wheels,
            string engines,
            int doors,
            int wings)
        {
            this.Wheels = wheels;
            this.Engine = engines;
            this.Doors = doors;
            this.Wings = wings;
        }

    }
}